﻿using Ninject.Modules;

using System.Net.DnsToolkit.Bastard.PacketGenerator;

namespace System.Net.DnsToolkit.Configuration {

    public class PacketGeneratorModule : NinjectModule {
        public override void Load() {

            Bind<IPacketGenerator>().To<DomainPointerDualLoop>();
            Bind<IPacketGenerator>().To<DomainPointerMatriochkasLoop>();
            Bind<IPacketGenerator>().To<DomainPointerMultiLoop>();
            Bind<IPacketGenerator>().To<DomainPointerOutOfRange>();
            Bind<IPacketGenerator>().To<DomainPointerSingleLoop>();
            Bind<IPacketGenerator>().To<EmptyPacket>();
            Bind<IPacketGenerator>().To<SingleQuestion>();
            Bind<IPacketGenerator>().To<MultipleSameQuestions>();
            Bind<IPacketGenerator>().To<SelfAnsweringQuestion>();
            Bind<IPacketGenerator>().To<SelfRebindingAdditional>();
            Bind<IPacketGenerator>().To<SelfRebindingAuthorityAdditional>();
            
            
        }
    }
}
